<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!--{include file='comm/header.tpl'}-->
    <title>
        订单打印
    </title>

    <style>

        body{
            font-size:13px;
            font-family: "宋体";
            margin:0;
            padding:0;
            color:black;
        }

        .tables{
            border:1px solid black;width: 100%;
        }
        .leftWidth{
            width:10%;border:1px solid black;
        }
        .rightWidth{
            width:30%;border:1px solid black;font-size:14px;font-weight:bold;
        }
        .borders{
            border: 1px solid black;
        }

        td{
            border: 1px solid #000000;padding:4px;
        }
    </style>
</head>
<body style="background:#ffffff;width: 100%" >
<div style="width:94%;margin: 10px;auto">


    <table class="tables">
        <tr >
            <td style="width:50%;border:0px;" rowspan="4"  > <img src="<!--{$getBarcodeUrl}-->" style="height:80px;"></td>
            <td style="width: 15%;border:0px;" rowspan="4"  ></td>
            <td style="width:25%;font-size: 12px;border:0px;" >订购热线：4006-888-888</td>
        </tr>
        <tr>
            <td style="width:80%;font-size: 12px;border:0px; rowspan="2">订购网址：121.43.104.7</td>
        </tr>
    </table>

    <table style="margin-top: 3px;" class="tables">
        <tr style="width:80%;">
            <td style=" font-size: 16px;text-align: center;font-weight:bold;" >送货单</td>
        </tr>
    </table>

    <table style="margin-top: 3px;" class="tables">
        <tr style="width:80%;">
            <td class="leftWidth">订单号</td>
            <td class="rightWidth" ><!--{$data_array.bill_code_substr}--></td>
            <td class="leftWidth" >配送日期</td>
            <td class="rightWidth" ><!--{$data_array.send_date}--></td>
        </tr>
        <tr style="width:80%;">
            <td class="leftWidth">订购日期</td>
            <td class="rightWidth" ><!--{$data_array.createTime}--></td>
            <td class="leftWidth" >配送时间</td>
            <td class="rightWidth" ><!--{$data_array.send_start_time}--> -- <!--{$data_array.send_start_time}--></td>
        </tr>
        <tr style="width:80%;">
            <td class="leftWidth">配送人</td>
            <td class="rightWidth" ><!--{$data_array.distribution_technicia}--></td>
            <td class="leftWidth" >配送站点</td>
            <td class="rightWidth" ><!--{$data_array.distribution_name}--></td>
        </tr>
        <tr style="width:80%;">
            <td class="leftWidth">订货人</td>
            <td class="rightWidth" ><!--{$data_array.custID}--></td>
            <td class="leftWidth" >联系电话</td>
            <td class="rightWidth" ><!--{if $data_array.deliver_mobile}--><!--{$data_array.deliver_mobile}--><!--{else}--><!--{$data_array.deliver_phone|default:"&nbsp;"}--><!--{/if}--></td>
        </tr>
        <tr style="width:80%;">
            <td class="leftWidth">收货人</td>
            <td class="rightWidth" ><!--{$data_array.deliver_name}--></td>
            <td class="leftWidth" >联系电话</td>
            <td class="rightWidth" ><!--{if $data_array.deliver_mobile}--><!--{$data_array.deliver_mobile}--><!--{else}--><!--{$data_array.deliver_phone|default:"&nbsp;"}--><!--{/if}--></td>
        </tr>
        <tr style="width:80%;">
            <td class="leftWidth">收货地址</td>
            <td colspan="3" class="borders" style="font-weight:bold;font-size: 14px;"><!--{$data_array.deliver_province}--><!--{$data_array.deliver_city}--><!--{$data_array.deliver_county}--><!--{$data_array.deliver_address}--></td>
        </tr>
        <tr style="width:80%;" >
            <td class="leftWidth">结款方式</td>
            <td colspan="3" class="borders" style="font-weight:bold;font-size: 14px;"><!--{$data_array.payTypeName}--></td>
        </tr>
        <tr style="width:80%;">
            <td class="leftWidth">订单金额</td>
            <td class="rightWidth" ><!--{$data_array.bill_money}--></td>
            <td class="leftWidth" >应收金额</td>
            <td class="rightWidth" ><!--{$data_array.bill_receivable_money}--></td>
        </tr>
        <tr style="width:80%;">
            <td class="leftWidth">配送备注</td>
            <td colspan="3" class="borders" style="font-weight:bold;font-size: 14px;"><!--{$data_array.remark|default:''}--></td>
        </tr>
        <tr style="width:80%;">
            <td class="leftWidth">发票抬头</td>
            <td colspan="3" class="borders" style="font-weight:bold;font-size: 14px;"><!--{$data_array.invoice_title|default:''}--></td>
        </tr>
        <tr>
            <td class="leftWidth">发票内容</td>
            <td colspan="3" class="borders" style="font-weight:bold;font-size: 14px;"><!--{$data_array.invoice_content|default:''}--></td>
        </tr>
    </table>

    <table style="margin-top: 3px;" class="tables">
        <tr style="width:80%;">
            <td colspan="2" style="font-weight:bold;font-size: 14px;">服务费内容明细</td>
        </tr>

        <tr style="width:80%;">
            <td style="width:40%">异地结款费用</td>
            <td style="width:40%;">&nbsp;</td>
        </tr>

        <tr style="width:80%;">
            <td style="width: 40%;">超远配送费用</td>
            <td style="width: 40%;">&nbsp;</td>
        </tr>
    </table>

    <table style="margin-top: 3px;" class="tables">
        <tr style="width:80%;">
            <td colspan="11" style="font-weight:bold;font-size: 14px;">蛋糕及附属品明细</td>
        </tr>

        <tr style="width:80%;">
            <td colspan="4">商品名称</td>
            <td>规格</td>
            <td>数量</td>
            <td>赠送蜡烛</td>
            <td>巧克力牌</td>
            <td>标准价</td>
            <td>折扣</td>
            <td>成交价</td>
        </tr>

        <!--{foreach from=$data_array.bill_goods item=res}-->
        <tr style="width:80%;">

            <td colspan="4" style="font-weight:bold;font-size: 14px;"><!--{$res.goods_name|default:''}--></td>
            <td style="font-weight:bold;font-size: 14px;"><!--{$res.goods_spec|default:''}--></td>
            <td style="font-weight:bold;font-size: 14px;"><!--{$res.goods_amount|default:''}--></td>
            <td style="font-weight:bold;font-size: 14px;"><!--{if $res.candle_amount > 0}-->是<!--{else}-->&nbsp;<!--{/if}--></td>
            <td style="font-weight:bold;font-size: 14px;"><!--{$res.birthday_card|default:''}--></td>
            <td style="font-weight:bold;font-size: 14px;"><!--{$res.goods_storePrice|default:''}--></td>
            <td style="font-weight:bold;font-size: 14px;">&nbsp;</td>
            <td style="font-weight:bold;font-size: 14px;"><!--{$res.goods_purchasePrice|default:''}--></td>
        </tr>
        <tr style="width:80%;">
            <td colspan="4" style="font-weight:bold;font-size: 14px;">额外餐具</td>
            <td>&nbsp;</td>
            <td style="font-weight:bold;font-size: 14px;"><!--{$res.extra_tableware_amount|default:''}--></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <!--{/foreach}-->
    </table>


    <table class="tables" style="margin-top:3px;border: 0px;">
        <tr style="width:80%;">
            <td style="border: 0px;font-size: 12px;">温馨提示：</td>
        </tr>
        <tr style="width:80%;">
            <td style="border: 0px;font-size: 12px;">1.请按商品标签上标注的存储条件保存.</td>
        </tr>
        <tr style="width:80%;">
            <td style="border: 0px;font-size: 12px;">2.请您在收到商品后务必打开包装验收，确认无误后请签字确认，签字后概不退换.</td>
        </tr>
    </table>

</div>
</body>
</html>
